package com.samsung.model.vote;

import java.util.Date;
/**
 * 
 * @ClassName: Topic
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @author jie1.kang
 * @date 2015年4月22日 下午5:03:09
 * @sine 1.0
 */
public class VoteTopic {
    private String tid;

    private String uid;

    private String title;

    private Integer type;

    private Integer scope;

    private Date deadline;

    private String advert;

    private Date createTime;
    
    private String oriTitle;

    public String getOriTitle() {
		return oriTitle;
	}

	public void setOriTitle(String oriTitle) {
		this.oriTitle = oriTitle;
	}

	public String getTid() {
        return tid;
    }

    public void setTid(String tid) {
        this.tid = tid == null ? null : tid.trim();
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid == null ? null : uid.trim();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getScope() {
        return scope;
    }

    public void setScope(Integer scope) {
        this.scope = scope;
    }

    public Date getDeadline() {
        return deadline;
    }

    public void setDeadline(Date deadline) {
        this.deadline = deadline;
    }

    public String getAdvert() {
        return advert;
    }

    public void setAdvert(String advert) {
        this.advert = advert == null ? null : advert.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

	@Override
	public String toString() {
		return "Topic [tid=" + tid + ", uid=" + uid + ", title=" + title
				+ ", type=" + type + ", scope=" + scope + ", deadline="
				+ deadline + ", advert=" + advert + ", createTime="
				+ createTime + "]";
	}
    
}